home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
scoobybigair.swf
/
scripts
/
frame_1
/
DoAction_4.as
< prev
next >
Wrap
Text File
|
2007-10-01
|
495b
|
23 lines
function cTimer()
{
this.startTime = getTimer();
}
cTimer.prototype.restartTimer = function()
{
this.startTime = getTimer();
};
cTimer.prototype.milliseconds = function()
{
return getTimer() - this.startTime;
};
cTimer.prototype.seconds = function()
{
return this.getSeconds();
};
cTimer.prototype.getSeconds = function()
{
return int((getTimer() - this.startTime) / 1000);
};
gameMC.iReadyScreenTimer = new cTimer();
gameMC.iLevelPauseTimer = new cTimer();